home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PACKET / MBBIOS34.ZIP / MS400.MOD < prev    next >
Text File  |  1989-02-01  |  6KB  |  161 lines

  1. Shared Interrupt Modification
  2. -----------------------------
  3.  
  4. Purpose:
  5. --------
  6.  
  7. This modification will allow a packet BBS using the CBBS, the W0RLI, the
  8. KA2BQE, or WA7MBL V3.x code to install 4 ports using only one slot and
  9. one interrupt request line (IRQ) on an IBM PC or compatible.  The change
  10. is nondestructive since no traces are cut and can be easily removed.
  11.  
  12. Hardware:
  13. ---------
  14.  
  15. The DFI MS-400 board provides 4 ASYNC ports and is available from
  16. several sources.  It comes in two flavors: XT and AT with the only
  17. difference being the 8250 versus the 16450 chips.  As shipped from the
  18. factory, the MS-400 requires one IRQ line per port.
  19.  
  20. Additional parts required are 4 small signal diodes (I used 1N914s
  21. from Radio Shack) and a 4.7K resistor (1/8 or 1/4 watt).
  22.  
  23. JDR MicroDevices carries (or at least did so on Nov 1st, 1987) the
  24. MS-400.  Their part number for the XT version is MCT-MS and it was priced
  25. at $80.  Address: 110 Knowles Drive, Los Gatos, CA 95030.  Their phone
  26. is (800)-538-5000 or (408)-866-6200 (for CA and non-US).
  27.  
  28. Another possible source is:
  29.  
  30. PINE COMPUTING, INC.
  31. 9690 Telestar Avenue
  32. El Monte, CA 91731
  33. (818) 575-1882
  34.  
  35. Brand Name is PINECOM
  36. 4 Serial Ports Card for AT (COM 1 to COM 8) --- $125.00
  37. 4 Serial Ports Card for XT (COM 1 to COM 8) --- $ 85.00
  38.  
  39. Planning:
  40. ---------
  41.  
  42. Unfortunately, you must plan your use of the ports since the exact
  43. placement of the parts is dependent on the change.  First determine
  44. how many ports will be for BBS use only and how many should be for
  45. general use.
  46.  
  47. Some possible variations are below.  Note that the numbers must
  48. be consecutive.
  49.  
  50.           Multipurpose ports          BBS Ports
  51.           ------------------          ---------
  52.                 none                  COM 3,4,5,6
  53.                 COM 2                 COM 3,4,5
  54.                 COM 1,2               COM 3,4
  55.  
  56.  
  57. These are not all the possible permutations.  In fact, two cards could
  58. be used to provide 8 BBS ports if you like.  Trying to explain how to
  59. set up all the possibilities would take many many pages of text.
  60.  
  61. The change outlined below forces all the BBS ports down IRQ2 leaving
  62. the standard COM1 and COM2 IRQ lines alone.
  63.  
  64. Carrying out the change:
  65. ------------------------
  66.  
  67. Example will use COM2 as a multipurpose port and COM 3,4,5 for BBS.
  68.  
  69.  
  70. 1.  Referring to your MS-400 booklet, set the address dip switches (SW1)
  71.     for the lowest port you want to use.  Example: COM2 (off off on).
  72.  
  73. 2.  Set the dip switches that select the IRQ lines for the multipurpose
  74.     ports ONLY!!  COM1 uses IRQ4, COM2 uses IRQ3.  Example: SW2 #2 is on
  75.     while all the rest are off.
  76.  
  77. 3.  Turn over the card to the side without the parts and locate the
  78.     pins that correspond to the dip switches SW2 and SW3.
  79.  
  80. 4.  For each BBS only port, solder a diode across the DIP switch
  81.     position that corresponds to IRQ2.  The cathode should be away
  82.     from the edge connector.  The diode makes the path that the switch
  83.     would have.  One way to find the exact position is to turn on IRQ2
  84.     for all the BBS ports and test for the proper pins with an ohm
  85.     meter.  Solder the diodes in place and then TURN OFF the IRQ2
  86.     switches.
  87.  
  88. 5.  Run a quick ohm meter test to make sure the diodes are in the
  89.     right spot.  The cathode ends of the diodes should all show
  90.     continuity between each other.  The anode ends should not!
  91.  
  92. 6.  Solder the 4.7K resistor between the cathode end of any diode and
  93.     ground.  There are several nearby ground lines that can be used.
  94.     I used pin 7 of the big 25 pin RS-232 connector for the first port.
  95.     Warning!!!  The broad trace around the edge of the card
  96.     is not ground.  It is +5 volts.  The ground lines will show
  97.     continuity to pin B3 (third from the left of the edge connector).
  98.  
  99. 7.  That's it.  You are ready for the smoke test.  As you can see,
  100.     the modifications are non-destructive.  Simply unsoldering the
  101.     diodes and the resistor will return the card to the factory state.
  102.  
  103. Software Changes:
  104. -----------------
  105.  
  106. No changes are needed to the mailbox programs themselves but the I/O
  107. routine must be setup.  You will need MBBIOS V2.0 or higher plus the
  108. accompanying customizer (MBBCONFG).
  109.  
  110. 1.  Execute MBBCONFG as per the instructions included with MBBIOS.
  111.  
  112. 2.  Put any multipurpose ports in the first slot (and second if needed).
  113.  
  114. 3.  Select the next slot.  On the port description panel, specify the
  115.     type as "B" ("Specified exactly"), put in the desired COM number
  116.     and hit enter.
  117.  
  118. 4.  On the exact specification panel, put the actual port type as "5"
  119.     ("Shared ASYNC Port").  Specify the address as shown below and the
  120.     interrupt number as "2"
  121.  
  122.               COM1  --  3F8         COM5  --  2F0
  123.               COM2  --  2F8         COM6  --  2E8
  124.               COM3  --  3E8         COM7  --  2E0
  125.               COM4  --  3E0         COM8  --  260
  126.  
  127. 5.  Repeat steps 3 and 4 for each BBS only port.
  128.  
  129. 6.  Exit the program using the "F3" key.
  130.  
  131. Running the code:
  132. -----------------
  133.  
  134. Before running your mailbox program, MBBIOS must be initialized.  MBBIOS
  135. should respond with an "MBBIOS ready" message.  The CBBS and W0RLI users
  136. should now issue an MBMODE for each port the mailbox will use.
  137.  
  138. That's all folks!
  139.  
  140. Some notes:
  141. -----------
  142.  
  143. Thanks to K4NTA, KB6IRS, and W0RLI for supporting this work.
  144.  
  145. You are not restricted to the addresses shown above or IRQ2.  I used
  146. them to try and simplify matters for most people who won't care.
  147.  
  148. If you need some weird configuration or want to install more than one
  149. card, drop me a note either via U.S.  Mail, packet via AA4RE BBS, or
  150. COMPUSERV.  I can also be contacted through the IBM Radio Club.
  151.  
  152. If you are absolutely confused as to where the diodes go, send me an
  153. SASE with your desired setup and I will return a board layout with the
  154. pins needed marked.
  155.  
  156. Roy Engehausen
  157. AA4RE
  158. 8660 Del Rey Court
  159. Gilroy, CA  95020
  160.  
  161.